import {createApp} from 'vue'
import App from './App.vue'
import 'ant-design-vue/dist/antd.less';
import '/@/styles/index.less'
import { setupRouter,router} from "/@/router";
import {setupStore} from "/@/store";
import {setupAntDesign} from "/@/plugins/ant-design";
import {setupRouterGuard} from "/@/router/guard";
const app =  createApp(App);



setupStore(app);
setupRouter(app);
//初始化路由钩子
setupRouterGuard(router)
setupAntDesign(app);
app.mount('#app')
